package com.example.tse.rbhttpservice.service.member;

import com.example.tse.rbhttpservice.service.member.model.MemberSurveyGetRequest;
import com.example.tse.rbhttpservice.service.member.model.MemberSurveyGetResponse;
import com.example.tse.rbhttpservice.service.member.model.MemberSurveySubmitRequest;
import com.example.tse.rbhttpservice.service.member.model.MemberSurveySubmitResponse;
import  com.example.tse.rbhttpservice.service.RemoteServiceListenerT;

/**
 *
 * @author wliu
 *  edit   tse
 */
public interface MemberSurveyService {
	/**
	 * 获取小调研问卷内容，仅获取一条有效调研问卷
	 * @param request
	 * @param listener
	 * @return MemberSurveyGetResponse
	 */
	  void get(MemberSurveyGetRequest request, RemoteServiceListenerT<MemberSurveyGetResponse> listener);
		
	/**
	 * 提交小调研问卷，题目＋答案是一一对应，有多条
	 * @param request
	 * @param listener
	 * @return MemberSurveySubmitResponse
	 */
	  void submit(MemberSurveySubmitRequest request, RemoteServiceListenerT<MemberSurveySubmitResponse> listener);
		
}
